<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!doctype html>
<html class="no-js">
    <head>
        <meta charset="utf-8">
        <title>智慧社区云管理平台</title>
        <meta name="keywords" content="">
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="renderer" content="webkit">
        <link rel="shortcut icon" href="/ico/favicon.ico">
        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
		<link rel="stylesheet" href="/css/core/bootstrap/bootstrap.css">
        <link rel="stylesheet" href="/css/system/login.css">
        <!-- 
        <link rel="stylesheet" href="uipkg/styles/vendor.css">
         -->
        <script src="/js/core/jquery.min.js"></script>
        <script src="/js/core/jquery/jquery.validate.min.js"></script>
        <script src="/js/core/jquery/modernizr.js"></script>
        <script src="/js/system/login.js"></script>
        <!--[if lt IE 9]>
        <script src="/js/core/ie9.js"></script>
        <![endif]-->
        <!--[if lt IE 8]>
        <script type="text/javascript">
        window.location.href = "unsupport-browser.html";
        </script>
        <![endif]-->
        <script>
        if (self !== top) {
        window.parent.location.href =  "/index.jsp";
        };
        </script>
    </head>
    <body class="login">
        <div class="login-panel">
            <div class="main-logo">
                <img src="/uipkg/images/login/logo.png" alt="logo" />
            </div>
            <div class="login-page mtl">
                <form id="loginForm" method="post" action="/doLogin" class="login-form"  onsubmit="return false;">
                    <div class="alert alert-warning alert-dismissable hidden">
                        <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
                        错误提示消息
                    </div>
                    <div class="form-group">
                        <label class="login-field-icon glyphicon glyphicon-user" for="login-name"></label>
                        <input type="text" name="loginName" id="account" class="form-control login-field" th:value="${session.j_username}" placeholder="用户名"/>
                    </div>
                    <div class="form-group">
                        <label class="login-field-icon glyphicon glyphicon-lock" for="login-pass"></label>
                        <input type="password" name="loginPwd" id="password" class="form-control login-field" value="" placeholder="密码"/>
                    </div>
                    <div class="form-group pull-right" style="margin-right: 0;">
                        <button class="btn btn-primary" id="loginBtn" type="submit">登&nbsp;&nbsp;录&nbsp;&nbsp;<i class="/icon-arrow-right"></i></button>
                    </div>
                    <div id="showAreaId" style="display:none;" class="alert alert-danger"></div>
                </form>
            </div>
        </div>
        
        <div class="copyright">
            <strong>Copyright</strong> 中盟科技 © 2014-2015
        </div>
    </body>
</html>